home *** CD-ROM | disk | FTP | other *** search
- Path: geraldo.cc.utexas.edu!usenet
- From: trakas@mail.utexas.edu (Travis Kaspar)
- Newsgroups: comp.lang.c++
- Subject: help finding ranges of types
- Date: 29 Jan 1996 16:59:13 GMT
- Organization: University of Texas at Austin
- Message-ID: <4eiud1$r0u@geraldo.cc.utexas.edu>
- NNTP-Posting-Host: slip-35-10.ots.utexas.edu
- X-Newsreader: WinVN 0.92.6+
-
- I have to determine the ranges (ie allowable values) for all
- the basic types, without using sizeof(type). I know I could increment
- from 0 until the sign changed, but I don't think that will work with float,
- and there's bound to be an easier way (doesn't there?)
- Thanks,
- Travis Kaspar
- trakas@mail.utexas.edu
-